package com.project.bean;

/**
 * 用户实体类
 */

public class UserBean {
    private  int id;
    private  String account;//账号
    private String pwd="666";//密码
    private  String userName;//真实姓名
    private  String garde;//等级

    public UserBean() {
    }

    public UserBean(String account, String pwd, String userName, String garde) {
        this.account = account;
        this.pwd = pwd;
        this.userName = userName;
        this.garde = garde;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", pwd='" + pwd + '\'' +
                ", userName='" + userName + '\'' +
                ", garde='" + garde + '\'' +
                "}\n";
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getGarde() {
        return garde;
    }

    public void setGarde(String garde) {
        this.garde = garde;
    }
}
